package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.dto.request.ActCouponBasePageReq;
import com.rightsidetech.activity.dto.response.ActCouponBaseResp;
import com.rightsidetech.activity.entity.ActCouponBaseInfo;

import java.util.List;

public interface ActCouponBaseInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActCouponBaseInfo record);

    int insertSelective(ActCouponBaseInfo record);

    ActCouponBaseInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActCouponBaseInfo record);

    int updateByPrimaryKey(ActCouponBaseInfo record);

    List<ActCouponBaseResp> page(ActCouponBasePageReq req);

    ActCouponBaseInfo selectByName(String couponName);
}